﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Model;

namespace BLL
{
    public class BPhoneUser
    {
        private readonly DPhoneUser _dPhoneUser = new DPhoneUser();

        public PhoneUser GetModelByPhoneNumber(string phoneNumber)
        {
            return _dPhoneUser.GetModelByPhoneNumber(phoneNumber);
        }
         
        public bool Add(PhoneUser model)
        {
            return _dPhoneUser.Add(model);
        }
         
        public bool Update(PhoneUser model)
        {
            return _dPhoneUser.Update(model);
        }
    }
}
